package Lesson3;

/**
 * Created with IntelliJ IDEA.
 * User: tos
 * Date: 11/6/13
 * Time: 11:04 AM
 * To change this template use File | Settings | File Templates.
 */
public abstract class Transport {
   public int cost;
    public int length;
    public int width;
    public int[][] road = new int[length][width];

    public void fillArray(int length, int width){
        for ( int i = 0; i < length; i++ ){
            for (int j = 0; j < width; j++) {
                road[i][j] = 0;
                System.out.println(road[i][j]);
            }
        }
    }


    public abstract void move();
}
